package com.example.springboot.mapper;

import com.example.springboot.pojo.Picture;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface PictureMapper {
    @Select("select * from picture limit 8")
    List<Picture> finaAllMenu();

    @Select("select * from picture limit 8,20")
    List<Picture> findAllDevlope();

}
